package main.java.com.blog.service;

import com.blog.entity.Info;

import java.util.List;

/**
 * Created by Admin on 2017/6/5.
 */

public interface InfoService {
    int addInfo(Info info);

    void updateInfo(Info info);

    Info findByName(String name);

    List<Info> findAll();
}
